package com.wang.friend.domain.exam.dto;

import com.wang.common.core.domain.PageQueryDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class ExamQueryDTO extends PageQueryDTO {

    @Schema(description = "竞赛标题")
    private String title;

    @Schema(description = "开始时间")
    private String startTime;

    @Schema(description = "结束时间")
    private String endTime;

    @Schema(description = "竞赛类型: 0-->未完赛 ; 1-->历史竞赛 ; 2-->用户报名的竞赛", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer type;
}
